package com.git.hui.demo.base.bean.test.beanconfig;

import com.git.hui.demo.base.bean.beanconfig.BeanSpringConfig;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

/**
 * Created by yihui in 19:01 18/5/31.
 */
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(classes = BeanSpringConfig.class)
public class ConfigUnit {

    @Autowired
    ApplicationContext applicationContext;


    @Test
    public void test() {
        System.out.println("--------over---------");
    }
}
